import org.junit.Test;

public class stringIndex {

    public static void main(String[] args) {
        String s="/admin/acl/index/info";
        System.out.println(s.indexOf("admin"));
    }
}
